package com.auth.service;

import java.util.List;
import org.apache.log4j.Logger;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.auth.mapper.T_role_functionMapper;
import com.auth.domain.T_role_function;

@Service("t_role_functionService")
@Transactional
public class T_role_functionService{
	private static Logger log = Logger.getLogger(T_role_functionService.class.getName());

	@Resource
    private T_role_functionMapper t_role_functionMapper;


	public int save(T_role_function obj){
		 return t_role_functionMapper.save(obj);
	}

	public int update(T_role_function obj){
		return t_role_functionMapper.update(obj);
	}

	public int delete(T_role_function obj){
		return t_role_functionMapper.delete(obj);
	}

	public T_role_function findById(T_role_function obj){
		return t_role_functionMapper.findById(obj);
	}

	public List findAll(T_role_function obj ){
		 return t_role_functionMapper.findAll(obj);
	}

	public int findCountAll(T_role_function obj ){
		 return t_role_functionMapper.findCountAll(obj);
	}
}
